home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
text
/
misc
/
nroff.lha
/
nroff
/
tests.shar.Z
/
tests.shar
/
mc.out
< prev
next >
Wrap
Text File
|
1998-03-09
|
3KB
|
67 lines
|
|
|
|
Testing the Margin Character Command |
OVERVIEW
This is a test of the .mc command in nroff. It adds a
character in the right margin when on and leaves if off
otherwise.
|
These lines should have a change bar. Turn on margin |
character mode by adding an .mc command with at least one |
argument. Note that nroff currently ignores the argument, |
except to turn on the mode. The margin character is |
currently always a vertical bar ("|") and is located 2 |
spaces to the right of the right margin. |
Now it should be off. Turn off mc mode with an .mc command
with no arguments.
You can add margin characters to no fill areas as well.
nroff will automatically add enough spaces to fill the line
and make the character line up with the right margin as with
fill mode.
This is a no fill area.
Here is a change bar in a no fill area (note the blank
line is changed as well):
|
THIS LINE IS CHANGED! |
NO MORE CHANGES!!!
If the line is longer than the right margin, the
margin character is appended to the line:
THIS IS A VERY,VERY,VERY,VERY,VERY,VERY,VERY,VERY,VERY,VERY LONG LINE... |
NO MORE CHANGES HERE!!!
|
|
NEW SECTION |
|
Here is an entire section added. It should have change bars |
for all lines, including the spaces before the section |
heading. |
|
This .mc capability contains the same bugs as the normal |
unix .mc command. You should put a .br command before the |
.mc which ends the margin character section to force the |
character on lines which end before the entire line is |
filled. |
FINALE
It section should not have any more change bars.
25 July 1990